www.gusucode.com > 茶都拼客网全功能版 8 > 茶都拼客网全功能版 8.8源码程序/teasdxmccom/茶都拼客网V8.8(全功能,无限制,完全开源)/admin/Down_edit.asp

    <!--#include file="../Ku_inc/Ku_sql.asp"-->
<!--#include file="../Ku_inc/Ku_config.asp"-->
<!--#include file="Ku_conn.asp"-->
<!--#include file="../Ku_inc/inc.asp"-->
<!-- #include file="Session.asp"-->
<%
id=request("ku_id")
if id ="" then
    response.Write("<script>alert(""黑客行为!"");location.href=""down_list.asp"";</script>")
end if   
    set rs=server.createobject("adodb.recordset")
    sql="select * from ku_down where id="&id
    rs.open sql,conn,1,3
%>
<html>
<head>
<title>修改下载</title>

<link href="include/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.news_add{
	height:22px;
	border:1px solid #BEBEBE;
	background-color:#FFF;
	padding-top: 2px;
	padding-right: 8px;
	padding-bottom: 0pt;
	padding-left: 3px;

}
input{
	height:22px;
	border:1px solid #BEBEBE;
	background-color:#FFF;
	padding-top: 2px;
	padding-right: 8px;
	padding-bottom: 0pt;
	padding-left: 3px;
}
-->
</style>
</head>
<body>
<div align="center">

<table border="0" width="95%" height="70" cellpadding="0" cellspacing="0"  >
	<tr >
		<td height="32" style="border: 1px solid #D0D4D9" bgcolor="#EEEEEE" >&nbsp;<b>当前栏目:</b>&gt; 
		修改下载</td>
	</tr>
    <tr><td height="38">
      <input class="input_back" type="button" name="Submit4" value="下载分类"onclick="location.href='down_kind.asp'"/>
	<input class="input_back" type="button" name="Submit3" value="下载列表"onclick="location.href='down_list.asp'"/>
	<input class="input_back" type="button" name="Submit2" value="管理首页"onclick="location.href='main.asp'"/></td></tr>
</table>

</div>
<table width="95%" border="0" align="center" cellpadding="3" cellspacing="1">
<form name="thisform" method="post" action="Deal_down.asp?action=editdown&ku_id=<%=id%>">
  <tr>
    <td width="11%" height="30" align="right" bgcolor="#F7F7F4" class="EasySiteText">
	名  称:</td>
    <td width="89%" height="30" bgcolor="#F7F7F4">
	<input name="name" type="text"  ID="title" style="wIDth:402; height:22" maxlength="50" value="<%=rs("name")%>">
	* 推荐<input name="tuijian" type="checkbox" id="kind" value="1" checked> </td>
  </tr>
<tr>
  <td height="30" align="right" bgcolor="#F7F7F4" class="EasySiteText">分  类:</td>
  <td height="30" bgcolor="#F7F7F4"><%
set rsclass=server.createobject("adodb.recordset")
sqlclass = "select * from Ku_downkind"
rsclass.open sqlclass,conn,1,1
if rsclass.eof and rsclass.bof then
response.write "请先添加分类。"
response.end
else
%><SELECT name="class" size="1">


<%do while not rsclass.eof
%><OPTION value="<%=trim(rsclass("id"))%>"><%=trim(left(rsclass("name"),6))%></OPTION>
<%
rsclass.movenext
loop
end if
rsclass.close
%></SELECT>
	
	</td>
</tr>
<tr>
  <td height="30" align="right" bgcolor="#F7F7F4" class="EasySiteText">软件大小:</td>
  <td height="30" bgcolor="#F7F7F4">
    <input name="big" type="text"  ID="title2" style="wIDth:57; height:19" maxlength="6" size="1" value="<%=rs("big")%>"> 
	KB</td>
</tr>
<tr>
  <td height="30" align="right" bgcolor="#F7F7F4" class="EasySiteText">缩略图片:</td>
  <td height="30" bgcolor="#F7F7F4">
	<input name="pic" type="text" ID="pic" style="wIDth:271; height:18" maxlength="100" value="<%=rs("pic")%>"> 
	 </td>
</tr>
<tr>
  <td height="30" align="right" bgcolor="#F7F7F4" class="EasySiteText">上  传:</td>
  <td height="30" bgcolor="#F7F7F4">
  <iframe frameborder=0 width=290 height=25 scrolling=no src="upload.asp?action=pic"></iframe>
	 </td>
</tr>
<tr>
  <td height="30" align="right" bgcolor="#F7F7F4" class="EasySiteText">作  者:</td>
  <td height="30" bgcolor="#F7F7F4">
	<input name="zuozhe" type="text" ID="description" style="wIDth:123; height:18" maxlength="100" value="<%if rs("writer")<>"" then%><%=rs("writer")%><%else%><%=session("ku_admin")%><%end if%>">
    (可以为空)</td>
</tr>
  <tr>
    <td height="30" align="right" bgcolor="#F7F7F4">VIP软件:</td>
    <td height="30" bgcolor="#F7F7F4">
     <input type="checkbox" name="vip" value="0"<%if rs("vip")=1 then%> checked<%end if%>> 选择只有VIP会员才能下载</td>
  </tr>
  <tr>
    <td height="30" align="right" bgcolor="#F7F7F4">VIP需要:</td>
    <td height="30" bgcolor="#F7F7F4">
    <input name="vipjf" type="text"  ID="title4" style="wIDth:57; height:19" maxlength="4" value="<%=rs("vipjf")%>" size="1"> 
	积分</td>
  </tr>
  <tr>
    <td height="30" align="right" bgcolor="#F7F7F4"><span class="EasySiteText">
	下载积分:</span></td>
    <td height="30" bgcolor="#F7F7F4">
    <input name="jifen" type="text"  ID="title1" style="wIDth:57; height:19" maxlength="5" value="<%=rs("jifen")%>" size="1"> 
	普通会员下载需要积分</td>
  </tr>
  <tr>
    <td height="30" align="right" bgcolor="#F7F7F4">演示地址:</td>
    <td height="30" bgcolor="#F7F7F4">
	<input name="http" type="text"  ID="title3" style="wIDth:402; height:22" maxlength="100" value="<%=rs("yanshi")%>"></td>
  </tr>

  <tr>
    <td height="30" align="right" bgcolor="#F7F7F4">推荐软件:</td>
    <td height="30" bgcolor="#F7F7F4">
	 <select size="1" name="star">




	<OPTION value="5">★★★★★</OPTION>
	<OPTION value="4">★★★★</OPTION>	
	<OPTION value="3">★★★</OPTION>
	<OPTION value="2">★★</OPTION>
	<OPTION value="1">★</OPTION>		
	</select> ★越多,级别越高</td>
  </tr>

  <tr>
    <td height="30" align="right" bgcolor="#F7F7F4"><span class="EasySiteText">
	下载地址:</span></td>
    <td height="30" bgcolor="#F7F7F4">
	<input name="url" type="text"  ID="title0" style="wIDth:402; height:22" maxlength="100" value="<%=rs("url")%>">
	*</td>
  </tr>
  <tr id="nr">
    <td height="30" align="right" bgcolor="#F7F7F4">上传文件:</td>
    <td height="30" bgcolor="#F7F7F4">
    &nbsp;<iframe frameborder=0 width=290 height=25 scrolling=no src="upload.asp?action=soft"></iframe>
 </td>
  </tr>
  <tr id="nr">
    <td height="30" align="right" bgcolor="#F7F7F4"><span class="EasySiteText">
	介  绍:</span></td>
    <td height="30" bgcolor="#F7F7F4">
<textarea rows="10" name="content" cols="80"><%=rs("content")%></textarea>


</td>
  </tr>
  <tr>
    <td height="30" colspan="2" bgcolor="#F7F7F4"></td>
  </tr>
  <tr>
    <td height="30" colspan="2" align="center" bgcolor="#F7F7F4"><input type="hidden" name="pageID" value="<%=clng(Request("pageID"))%>"><input type="hidden" name="pageMode" value="<%=clng(Request("pageMode"))%>"><input type="submit" name="Submit" value="提 交">
      <label>
         <input name="button" type="reset"  id="button" value=" 重 置 ">
      </label></td>
  </tr>
  <tr>
    <td colspan="2" bgcolor="#F7F7F4"> </td>
  </tr>
</form>
</table>
<hr/>
<p align="center"><!-- #include file="Ku_bottom.asp"--></p>

</body>
</html>